package com.lw.staservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-ucenter")
@Repository
public interface UcenterClient {
    //rpc根据日期查询当天注册人数
    @GetMapping("/api/ucenter/member/inner/countRegister/{day}")
    public Integer countRegister(@PathVariable("day") String day);
}
